package com.jayhuang.user_center.service;

import com.jayhuang.user_center.utils.Result;
import com.jayhuang.user_center.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jayhuang.user_center.pojo.response.SafetUserResponse;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author HUANG
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2024-10-28 10:39:25
*/
public interface UserService extends IService<User> {

    Result userRegister(String userAccount, String userPassword, String checkPassword, String planetCode);

    SafetUserResponse doLogin(String userAccount, String userPassword, HttpServletRequest request);

    void userLogout(HttpServletRequest request);

}
